<!DOCTYPE html>
<html th:replace="~{layouts/layout :: layout(~{::title}, ~{::#main_content})}" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>标准页面</title>
</head>
<body>
<div id="main_content">

<div class="col-lg-12 ui-sortable">
    <div class="box ui-sortable-handle" style="position: relative; left: 0px; top: 0px;">
        <header>
            <h5>标准页面</h5>
        </header>
        <div class="body">

            <div class="body collapse in" aria-expanded="true" style="">
                <form action="" method="GET" class="form-inline">

                    <div class="form-group pdt10">
                        <label class="control-label col-lg-4">来源</label>
                        <div class="col-lg-8">
                            <div class="input-group">
                                <select class="form-control" name="q[comefrom]">
                                    <option value="">全部</option>
                                    			                                    <option value="1">一亿元</option>
			                                    			                                    <option value="9">米花花</option>
			                                                                    </select>
                            </div>
                        </div>
                    </div>

                    <div class="form-group pdt10">
                            <div class="input-group">
                                <input class="form-control" value="" name="q[standard_id]" placeholder="standard_id(ID)" type="text">
                            </div>
                    </div>


                    <div class="form-group pdt10">
                            <div class="input-group">
                                <input class="form-control" value="" name="q[loan_order_id]" placeholder="loan_order_id" type="text">
                            </div>
                    </div>
                    <div class="form-group pdt10">
                            <div class="input-group">
                                <input class="form-control" value="" name="q[loan_id]" placeholder="loan_id" type="text">
                            </div>
                    </div>

                    <hr style="clear:both;">

                    <div class="form-group pdt10">
                        <label class="control-label col-lg-5">标的状态</label>
                        <div class="col-lg-7">
                            <div class="input-group">
                                    <select class="form-control" name="q[status]">
                                <option value="">全部</option>
                                    			                                    <option value="0">初始</option>
			                                    			                                    <option value="100">锁定</option>
			                                    			                                    <option value="6">请求成功</option>
			                                    			                                    <option value="11">请求失败</option>
			                                    			                                    <option value="12">请求未知</option>
			                                    			                                    <option value="8">满标</option>
			                                    			                                    <option value="9">结束债权中</option>
			                                    			                                    <option value="14">债权结束成功</option>
			                                    			                                    <option value="16">债权部分结束成功</option>
			                                                                    </select>
                            </div>
                        </div>
                    </div>


                    <div class="form-group pdt10">
                        <label class="control-label col-lg-5">放款状态</label>
                        <div class="col-lg-7">
                            <div class="input-group">
                                    <select class="form-control" name="q[remit_status]">
                                <option value="">全部</option>
                                    			                                    <option value="0">初始</option>
			                                    			                                    <option value="2">放款成功</option>
			                                    			                                    <option value="3">放款失败</option>
			                                    			                                    <option value="4">展期成功</option>
			                                    			                                    <option value="6">提现成功</option>
			                                    			                                    <option value="102">提现锁定</option>
			                                    			                                    <option value="11">提现失败</option>
			                                    			                                    <option value="12">提现未知</option>
			                                                                    </select>
                            </div>
                        </div>
                    </div>

                    <div class="form-group pdt10">
                        <label class="control-label col-lg-5">还款状态</label>
                        <div class="col-lg-7">
                            <div class="input-group">
                                    <select class="form-control" name="q[repay_status]">
                                <option value="">全部</option>
                                    			                                    <option value="0">待处理</option>
			                                    			                                    <option value="2">待还款</option>
			                                    			                                    <option value="4">还款中</option>
			                                    			                                    <option value="5">部分还款成功</option>
			                                    			                                    <option value="6">还款成功</option>
			                                    			                                    <option value="100">锁定</option>
			                                    			                                    <option value="102">待还款锁定中(写还款明细)</option>
			                                    			                                    <option value="11">还款失败</option>
			                                    			                                    <option value="12">未知</option>
			                                                                    </select>
                            </div>
                        </div>
                    </div>

                    <hr style="clear:both;text-color:#ccc;">
                    <div class="form-group pdt10">
                        <label class="control-label col-lg-4">创建时间</label>
                        <div class="col-lg-8">
                            <div class="input-group">
                            <input class="form-control" id="startday" value="" name="q[startday]" placeholder="起始时间" type="text">

                            </div>
                        </div>
                    </div>
                    <div class="form-group pdt10">
                            <div class="input-group">
                            <input class="form-control" id="endday" value="" name="q[endday]" placeholder="结束时间" type="text">
                            </div>
                    </div>


                    <div class="form-group pdt10">
                        <label class="control-label col-lg-3"></label>
                        <div class="col-lg-9">
                            <div class="input-group">
                            <button type="submit" class="btn btn-primary">搜索</button>                            </div>
                        </div>
                    </div>

                </form>
            </div>
            <br>
                <table class="table table-bordered table-condensed table-hover table-striped dataTable no-footer u-tb-left">
                <thead>
                    <tr role="row">
                        <th width="50px">ID</th>
                        <th width="60px">来源/loan_id</th>
                        <th width="50px">loan_order_id</th>
                        <th width="120px">状态</th>
                        <th width="120px">详情</th>
                        <th width="50px">创建时间</th>
                        <th width="80px">操作</th>
                    </tr>
                </thead>
                <tbody>
                                            				                        <tr role="row" class="even">
		                                    <td>2113180</td>
		                                    <td>一亿元<br>29021950 </td>
			                                <td title="借款信息"><a href="/backend/loan/index?loan_order_id=cccc">cccc</a></td>
		                                    <td style="text-align:left;font-size:11px;">
		                                            标的状态:请求成功<br>
		                                            放款状态:初始<br>
		                                            还款状态:待处理<br>
		                                            是否终态: 否<br>
		                                            <br>
		                                                                                </td>
                                    <td style="text-align:left;font-size:11px;">
                                        cccc<br>
                                        已投金额:0元<br>
                                        借款金额:2,500元<br>
                                        服务费:35.00元<br>
                                        借款天数:30<br>
                                        借款时间:<br>
                                        2018-08-17 ~ 2018-09-17                                    </td>



	                                <td>2018-08-17 10:58:39</td>
                                    
                                    <td>
                                        <a href="#">流水</a>
                                    </td>
		                        </tr>
		                        				                        <tr role="row" class="even">
		                                    <td>2113179</td>
		                                    <td>一亿元<br>29021943 </td>
			                                <td title="借款信息"><a href="/backend/loan/index?loan_order_id=cccc">cccc</a></td>
		                                    <td style="text-align:left;font-size:11px;">
		                                            标的状态:请求成功<br>
		                                            放款状态:初始<br>
		                                            还款状态:待处理<br>
		                                            是否终态: 否<br>
		                                            <br>
		                                                                                </td>
                                    <td style="text-align:left;font-size:11px;">
                                        cccc<br>
                                        已投金额:0元<br>
                                        借款金额:1,500元<br>
                                        服务费:21.00元<br>
                                        借款天数:30<br>
                                        借款时间:<br>
                                        2018-08-17 ~ 2018-09-17                                    </td>



	                                <td>2018-08-17 10:58:11</td>
                                    
                                    <td>
                                            <a href="#">流水</a>
                                    </td>
		                        </tr>
		                      
		                                                            </tbody>
			</table>
			
			<div class="u-page" style="margin-bottom:30px;">
				<div class="u-right">
					共有 <b class="org">21820</b> 条记录　　
					共 <span>2182</span> 页
					<ul id="yw1" class="yiiPager">
						
						
			
						<span>
						<li class="selected">
							<a href="#">1</a>
						</li>
						</span><span>
						<li>
							<a href="#">2</a>
						</li>
						</span><span>
						<li>
							<a href="#">3</a>
						</li>
			
						<li class="next">
							<a href="http://localhost:8080/study/index?page=2">下一页</a>
						</li>
						<li class="last">
							<a href="http://localhost:8080/study/index?page=2182">末页</a>
						</li>
					</ul>
				</div>
				<div class="u-clear"></div>
			</div>



    </div>
</div>

<script type="text/javascript">
    laydate({
        elem: '#startday',
        festival: true,
        istime: true,
        format: 'YYYY-MM-DD',
    });
    laydate({
        elem: '#endday',
        festival: true,
        istime: true,
        format: 'YYYY-MM-DD',
    });
</script>


</div><!-- content -->

</body>
</html>